package org.algorithms.ricartagrawala;

import org.ApplicationException;

public interface Controller {
	void setControlPanel(RicartAgrawalaPanelImpl controlPanel);
	RicartAgrawalaPanel getControlPanel();
	void setProcesses(ProcessCi[] processes);
	ProcessCi[] getProcesses();
	void setNumberOfProcesses(Integer numberOfProcesses);
	Integer getNumberOfProcesses();
	void handleControlPanelAction(Integer actionNumber);
	void sendActionToAll(int actionNumber);
	void initialSetup() throws ApplicationException;
}
